package com.itlong.cloud.commons.dao;

import com.itlong.cloud.POJO.PO.SysCodePO;
import com.itlong.cloud.abstracts.IAbstractBaseDao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <desc>
 *      数据字典shujufangwenjieko
 * </desc>
 *
 * @createDate 2017/10/18
 */
@Mapper
@Repository
public interface IDataDictionaryDao extends IAbstractBaseDao<SysCodePO>{
    /**
     * <desc>
     *      根据类型获取数据字典数据
     * </desc>
     *
     * @param codeType 类型
     * @return List<SysCodePO> 数据字典实体类集
     * @author zhangs
     * @createDate 2017/10/18
     */
    List<SysCodePO> getByCodeType(@Param("codeType") String codeType);
}
